package com.ihomey.linkuphome.controller

/**
 * Created by Administrator on 2017/6/16.
 */
class ControllerFactory {

    fun createController(type: Int): Controller? {
        when (type) {
            1 -> return LawnController()
            2 -> return RgbController()
            else -> {
            }
        }
        return null
    }
}